package com.rk.kbk.dao;

import com.rk.kbk.model.SortType;
import com.rk.kbk.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @SortTypeDao
 * @类别Dao
 * @version : Ver 1.0
 */
public interface SortTypeDao extends JpaRepository<SortType, Long>,JpaSpecificationExecutor {
        List<SortType> findByIdIn(List<Long> id);

        List<SortType> findByType(int type);

}
